home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Sample Code Update 01⁄96 / Fragment Tool / Sources / DialogStuff.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-20  |  1.4 KB  |  114 lines  |  [TEXT/MPCC]

  1. /*
  2.     File:        Dialogs.h
  3.  
  4.     Contains:    Handle application's dialogs
  5.  
  6.     Written by:    Chris White, Developer Technical Support
  7.     
  8.     Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  9.     
  10.     Change History (most recent first):
  11.     
  12.                   9/28/95    CW        First release
  13.  
  14. */
  15.  
  16.  
  17. #ifndef __DIALOGSTUFF__
  18. #define __DIALOGSTUFF__
  19.  
  20.  
  21.  
  22.  
  23.  
  24. #ifndef __FRAGMENTSTUFF__
  25.     #include "FragmentStuff.h"
  26. #endif
  27.  
  28.  
  29.  
  30.  
  31.  
  32. struct AddFragmentExportsRecOut
  33. {
  34.     FSSpecPtr    theSpecPtr;
  35.     tItemPtr    theItem;
  36. };
  37.  
  38.  
  39.  
  40. struct AddFragmentExportsRecIn
  41. {
  42.     StringPtr    theErrorStr;
  43. };
  44.  
  45.  
  46.  
  47. typedef struct AddFragmentExportsRec
  48. {
  49.     Boolean        bIn;
  50.     union
  51.     {
  52.         struct AddFragmentExportsRecOut    out;
  53.         struct AddFragmentExportsRecIn    in;
  54.     } u;
  55.   
  56. } tAddFragmentExportsRec;
  57.  
  58.  
  59.  
  60.  
  61. enum
  62. {
  63.     // List Dialog Constants
  64.     
  65.     kListDialogOkay = 2000,
  66.     kListDialogOkayCancel = 2001,
  67.     
  68.         // kStdOkItemIndex
  69.         // kStdCancelItemIndex
  70.         kListUserItem = 3
  71. };
  72.  
  73.  
  74.  
  75.  
  76. enum
  77. {
  78.     // Info Dialog Constants
  79.     
  80.     kInfoDialog = 2002,
  81.         // kStdOkItemIndex
  82.         // kStdCancelItemIndex
  83.         kNameEditText = 3,
  84.         kArchitectureStaticText,
  85.         kUpdateLevelPopup,
  86.         kCurrentMajorEditText,
  87.         kCurrentMinorEditText,
  88.         kCurrentBugRevEditText,
  89.         kCurrentStagePopup,
  90.         kCurrentNonRelEditText,
  91.         kOldMajorEditText,
  92.         kOldMinorEditText,
  93.         kOldBugRevEditText,
  94.         kOldStagePopup,
  95.         kOldNonRelEditText,
  96.         kStackSizeEditText,
  97.         kSubFolderIDEditText,
  98.         kUsagePopup,
  99.         kLocationStaticText,
  100.         kOffsetStaticText,
  101.         kLengthStaticText
  102.         
  103. };
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111. #endif // define __DIALOGSTUFF__
  112.  
  113.  
  114.